diff --git a/StationTest/tbb_memory.sh b/StationTest/tbb_memory.sh
index fcd0f60a6ff5fc4178d93553102877ea5f807952..17951373ae25f8a3f2be448ecd6f23162550634c 100644
--- a/StationTest/tbb_memory.sh
+++ b/StationTest/tbb_memory.sh
@@ -1,31 +1,33 @@
-#!/bin/bash
-
-#
-# Get version info from the TBB boards and compare this with the expected golden result.
-#
-
-rm -f tbb_memory*.log
-rm -f tbb_memory*.diff
-
-if [ -e /opt/lofar/etc/RemoteStation.conf ]; then
-  let tbboards=`sed -n  's/^\s*RS\.N_TBBOARDS\s*=\s*\([0-9][0-9]*\).*$/\1/p' /opt/lofar/etc/RemoteStation.conf`
-else
-  echo "Could not find /opt/lofar/etc/RemoteStation.conf"
-  exit 1
-fi
-
-
-for ((ind=0; ind < $tbboards; ind++)) do
-        tbbctl --testddr=$ind > tbb_memory$ind.log
-      done
-
-for ((ind=0; ind < $tbboards; ind++)) do
-            diff tbb_memory$ind.log gold/tbb_memory$ind.gold > tbb_memory$ind.diff
-            if [ -e tbb_memory$ind.log ] && [ -e gold/tbb_memory$ind.gold ] && [ -e tbb_memory$ind.diff ] && ! [ -s tbb_memory$ind.diff ]; then
-              # The files exists AND has the diff size 0
-              echo "TBB memory ($ind) test went OK"
-            else
-              echo "TBB memory ($ind) test went wrong"
-            fi
-      done
-
+#!/bin/bash
+
+#
+# Get version info from the TBB boards and compare this with the expected golden result.
+#
+
+rm -f tbb_memory*.log
+rm -f tbb_memory*.diff
+
+
+if [ -e /opt/lofar/etc/RemoteStation.conf ]; then
+  let tbboards=`sed -n  's/^\s*RS\.N_TBBOARDS\s*=\s*\([0-9][0-9]*\).*$/\1/p' /opt/lofar/etc/RemoteStation.conf`
+else
+  echo "Could not find /opt/lofar/etc/RemoteStation.conf"
+  exit 1
+fi
+
+
+for ((ind=0; ind < $tbboards; ind++)) do
+        tbbctl --testddr=$ind > tbb_memory$ind.log
+      done
+
+for ((ind=0; ind < $tbboards; ind++)) do
+            diff tbb_memory$ind.log gold/tbb_memory$ind.gold > tbb_memory$ind.diff
+            if [ -e tbb_memory$ind.log ] && [ -e gold/tbb_memory$ind.gold ] && [ -e tbb_memory$ind.diff ] && ! [ -s tbb_memory$ind.diff ]; then
+              # The files exists AND has the diff size 0
+              echo "TBB memory ($ind) test went OK"
+            else
+              echo "TBB memory ($ind) test went wrong"
+              cp tbb_memory$ind.log tbb_memory.log
+            fi
+      done
+