Index: scripts/usr/local/lib/7dtd/commands/updateengine.sh
===================================================================
--- scripts/usr/local/lib/7dtd/commands/updateengine.sh	(revision 264)
+++ scripts/usr/local/lib/7dtd/commands/updateengine.sh	(revision 265)
@@ -23,4 +23,9 @@
 #		FORCED=yes
 #	fi
+
+	local EXPERIMENTAL=no
+	if [ "$1" = "--experimental" ]; then
+		EXPERIMENTAL=yes
+	fi
 
 	if [ ! -e $SDTD_BASE/steamcmd ]; then
@@ -88,6 +93,11 @@
 		done
 		
+		local BRANCH_PARAM=
+		if [ "$EXPERIMENTAL" = "yes" ]; then
+			BRANCH_PARAM="-beta latest_experimental"
+		fi
+		
 		cd $SDTD_BASE/steamcmd
-		./steamcmd.sh +login anonymous +force_install_dir $SDTD_BASE/engine +app_update 294420 validate +quit
+		./steamcmd.sh +login anonymous +force_install_dir $SDTD_BASE/engine +app_update 294420 -validate $BRANCH_PARAM +quit
 
 		if [ -d /usr/local/lib/7dtd/server-fixes ]; then
@@ -108,8 +118,11 @@
 
 sdtdCommandUpdateengineHelp() {
-	echo "Usage: $(basename $0) updateengine" # [--force | --check]"
+	echo "Usage: $(basename $0) updateengine [--experimental]" # [--force | --check]"
 	echo
 	echo "Check for a newer version of engine (aka game) files of 7dtd. If there is a newer"
 	echo "version they will be updated by this command."
+	echo
+	echo "If --experimental is specified the server will be updated to the"
+	echo "latest_experimental Steam branch of the game."
 #	echo
 #	echo "If --force is specified you are asked if you want to redownload the engine"
@@ -125,4 +138,9 @@
 
 sdtdCommandUpdateengineExpects() {
+	case $1 in
+		2)
+			echo "--experimental"
+			;;
+	esac
 #	case $1 in
 #		2)
