diff --git a/applications/apertif/commissioning/central_commands.sh b/applications/apertif/commissioning/central_commands.sh
index 038d9a279a212705e177ab261ace0d625813a23c..43fb2e7e5c3adb414531985141f7c6458222ee90 100755
--- a/applications/apertif/commissioning/central_commands.sh
+++ b/applications/apertif/commissioning/central_commands.sh
@@ -319,7 +319,7 @@ fi
 # Set destination MAC/IP/Ports
 ###############################################################################
 UNBS2="${UNBS//,/ }"
-if [ $APP == "apertif" ]; then
+if [ ${APP:0:7} == "apertif" ]; then
     if [ "$DATAWRITER" == "wcudata1" ]; then
         DATAWRITER_ETH0_ETH_DST_MAC=$WCUDATA1_ETH0_ETH_DST_MAC
         DATAWRITER_ETH0_IP_DST_ADDR=$WCUDATA1_ETH0_IP_DST_ADDR
@@ -414,7 +414,7 @@ fi
 ###############################################################################
 # Enable output streams NOTE - temporary not outputting to ARTS0 (absent network)
 ###############################################################################
-if [ $APP == "apertif" ]; then
+if [ ${APP:0:7} == "apertif" ]; then
     # Enable all output of all correlator uniboards
     python $UPE/peripherals/util_dp_xonoff.py --unb $UNBS --fn 0:3 --bn 0:3 -s OUTPUT -n 2
 elif [ $APP == "arts_sc1" ]; then