diff --git a/scripts/simspark/killServer.sh b/scripts/simspark/killServer.sh
index c2706c7..17bede6 100755
--- a/scripts/simspark/killServer.sh
+++ b/scripts/simspark/killServer.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
#*******************************************************************************
# Copyright 2008 - 2020 Hochschule Offenburg
#
@@ -15,8 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with magmaOffenburg. If not, see .
#*******************************************************************************
+
while [ true ]
do
-sleep 120s
-killall -9 rcssserver3d
+ sleep 120s
+ killall -9 rcssserver3d
done
diff --git a/scripts/simspark/simspark-fastmode.sh b/scripts/simspark/simspark-fastmode.sh
index bdd3267..73e0b7c 100755
--- a/scripts/simspark/simspark-fastmode.sh
+++ b/scripts/simspark/simspark-fastmode.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
#*******************************************************************************
# Copyright 2008 - 2020 Hochschule Offenburg
#
@@ -15,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with magmaOffenburg. If not, see .
#*******************************************************************************
-#!/bin/bash
+
sed -i "s/\$agentSyncMode = false/\$agentSyncMode = true/" ~/.simspark/spark.rb
sudo sed -i "s/\$enableRealTimeMode = true/\$enableRealTimeMode = false/" /usr/local/share/rcssserver3d/rcssserver3d.rb
diff --git a/scripts/simspark/simspark-normalmode.sh b/scripts/simspark/simspark-normalmode.sh
index b072f15..98c90a0 100755
--- a/scripts/simspark/simspark-normalmode.sh
+++ b/scripts/simspark/simspark-normalmode.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
#*******************************************************************************
# Copyright 2008 - 2020 Hochschule Offenburg
#
@@ -15,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with magmaOffenburg. If not, see .
#*******************************************************************************
-#!/bin/bash
+
sed -i "s/\$agentSyncMode = true/\$agentSyncMode = false/" ~/.simspark/spark.rb
sudo sed -i "s/\$enableRealTimeMode = false/\$enableRealTimeMode = true/" /usr/local/share/rcssserver3d/rcssserver3d.rb
diff --git a/scripts/simspark/simsparkAutoRestart.sh b/scripts/simspark/simsparkAutoRestart.sh
index 8d14331..984ce9c 100755
--- a/scripts/simspark/simsparkAutoRestart.sh
+++ b/scripts/simspark/simsparkAutoRestart.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
#*******************************************************************************
# Copyright 2008 - 2020 Hochschule Offenburg
#
@@ -15,9 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with magmaOffenburg. If not, see .
#*******************************************************************************
-#!/bin/bash
+
while true
do
-rcssserver3d
-sleep 1
-done
\ No newline at end of file
+ rcssserver3d
+ sleep 1
+done
diff --git a/scripts/start.sh b/scripts/start.sh
index bbfa65d..5693c80 100644
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
#*******************************************************************************
# Copyright 2008 - 2020 Hochschule Offenburg
#
@@ -15,11 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with magmaOffenburg. If not, see .
#*******************************************************************************
-#!/bin/bash
-###########################################
# Starts a magmaFatProxy
# example: bash start.sh 127.0.0.1 3100 3110
-###########################################
+#*******************************************************************************
if [ $# -ne 3 ]; then
echo "Usage: $0 "