diff --git a/applications/apertif/commissioning/tests/start_wg_at_bsn.sh b/applications/apertif/commissioning/tests/start_wg_at_bsn.sh
index 9b4b410ae667e2c35894e58840ff8b98e6bab27e..947969d4ddff243358591a71eeb9039743b74aa7 100644
--- a/applications/apertif/commissioning/tests/start_wg_at_bsn.sh
+++ b/applications/apertif/commissioning/tests/start_wg_at_bsn.sh
@@ -62,21 +62,31 @@ WG_CHAN=32             # channel in subband 0..63, where 32 is at center
 WG_CHAN_FRACTION=0.0   # channel fraction 0.0 is at center of channel
 WG_PHASE=0
 
-POL=0
-GLOBAL_SP=56           # SP 56 is at center of PAF and connected via --unb 3 --bn 2 --sp 0
+POLS=0                 # 0= X, 1 = Y, 0,1 = X,Y
 
 # Derived constants
-if [ "$POL" == "0" ]; then
-    UNBS='0:3'
+if [ "$POLS" == "0" ]; then
+  GLOBAL_SP_X=56           # SP 56 is at center of PAF and connected via --unb 3 --bn 2 --sp 0
+elif [ "$POLS" == "1" ]; then
+  GLOBAL_SP_Y=56           # SP 56 is at center of PAF and connected via --unb 3 --bn 2 --sp 0
 else
-    UNBS='4:7'
+  GLOBAL_SP_X=56
+  GLOBAL_SP_Y=56
 fi
 
+
 # Setup all WG at dish to ampl = 0 for all SP and both pol
 python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --bn 0:3 --sp 0:3 --pol 0,1  --cmd 20 -v 5 --globalsp 0:63 --sub 0 --chan 32 --ampl 0 --phs 0
 
 # Setup WG_AMPL for one GLOBAL_SP and one POL
-python $UPE/peripherals/pi_apertif_system.py --unb 0:3 --bn 0:3 --sp 0:3 --pol $POL --cmd 20 -v 5 --globalsp $GLOBAL_SP --sub $WG_SUB --chan $WG_CHAN --ampl $WG_AMPL --chanfraction $WG_CHAN_FRACTION --phs $WG_PHASE
+if [ "$POLS" == "0" ]; then
+  python $UPE/peripherals/pi_apertif_system.py --unb 0:3 --bn 0:3 --sp 0:3 --pol 0 --cmd 20 -v 5 --globalsp $GLOBAL_SP_X --sub $WG_SUB --chan $WG_CHAN --ampl $WG_AMPL --chanfraction $WG_CHAN_FRACTION --phs $WG_PHASE
+elif [ "$POLS" == "1" ]; then
+  python $UPE/peripherals/pi_apertif_system.py --unb 4:7 --bn 0:3 --sp 0:3 --pol 1 --cmd 20 -v 5 --globalsp $GLOBAL_SP_Y --sub $WG_SUB --chan $WG_CHAN --ampl $WG_AMPL --chanfraction $WG_CHAN_FRACTION --phs $WG_PHASE
+else:  
+  python $UPE/peripherals/pi_apertif_system.py --unb 0:3 --bn 0:3 --sp 0:3 --pol 0 --cmd 20 -v 5 --globalsp $GLOBAL_SP_X --sub $WG_SUB --chan $WG_CHAN --ampl $WG_AMPL --chanfraction $WG_CHAN_FRACTION --phs $WG_PHASE
+  python $UPE/peripherals/pi_apertif_system.py --unb 4:7 --bn 0:3 --sp 0:3 --pol 1 --cmd 20 -v 5 --globalsp $GLOBAL_SP_Y --sub $WG_SUB --chan $WG_CHAN --ampl $WG_AMPL --chanfraction $WG_CHAN_FRACTION --phs $WG_PHASE
+fi
 
 # Start WG at scheduled BSN in future
 python $UPE/peripherals/util_diag_wg_wideband.py --unb 0:7 --bn 0:3 --sp 0:3 -v 5 -n 1 --bsn $SCHEDULED_BSN