Index: scripts/usr/local/lib/7dtd/commands/start.sh
===================================================================
--- scripts/usr/local/lib/7dtd/commands/start.sh	(revision 258)
+++ scripts/usr/local/lib/7dtd/commands/start.sh	(revision 259)
@@ -47,5 +47,5 @@
 		rm -f $(getInstancePath $1)/logs/output_log.txt
 		
-		for H in $(getHooksFor serverPreStart); do
+		for H in $(getHooksFor serverPreStart $1); do
 			$H $1
 		done
@@ -58,8 +58,15 @@
 		OPTS="-logfile $LOG -configfile=$(getInstancePath $1)/config.xml"
 		
-		LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDieServer.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
+#		if [ "$(uname -m)" = "x86_64" ]; then
+#			SERVER_EXE="7DaysToDieServer.x86_64"
+#		else
+			SERVER_EXE="7DaysToDieServer.x86"
+#		fi
+
+		
+		LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/$SERVER_EXE -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
 		sleep 1
 
-		for H in $(getHooksFor serverPostStart); do
+		for H in $(getHooksFor serverPostStart $1); do
 			$H $1
 		done
Index: scripts/usr/local/lib/7dtd/commands/stop.sh
===================================================================
--- scripts/usr/local/lib/7dtd/commands/stop.sh	(revision 258)
+++ scripts/usr/local/lib/7dtd/commands/stop.sh	(revision 259)
@@ -42,5 +42,5 @@
 	res=$(isRunning $1)
 	if [ $res -eq 1 ]; then
-		for H in $(getHooksFor serverPreStop); do
+		for H in $(getHooksFor serverPreStop $1); do
 			$H $1
 		done
@@ -68,5 +68,5 @@
 		rm $(getInstancePath $1)/7dtd.pid
 
-		for H in $(getHooksFor serverPostStop); do
+		for H in $(getHooksFor serverPostStop $1); do
 			$H $1
 		done
