diff --git a/build_gesso.sh b/build_gesso.sh
index 25b3c7976be78003df91ed7cb14f1ea90e70d525..672d31a5b2e575060f4622855f52143366bd7dbc 100755
--- a/build_gesso.sh
+++ b/build_gesso.sh
@@ -1,4 +1,4 @@
-uw_wcms_gesso_root_path=${1:-/var/www/html}
+build_option=${1:-1}
 gesso_version="8.x-3.2"
 git clone "https://github.com/forumone/gesso" "gesso"
 cd gesso
@@ -16,15 +16,17 @@ rm screenshot.png
 rm -rf templates
 echo "Done removing gess theme files."
 
-echo "Running npm install ..."
-npm install
-echo "Done npm install."
+if [ ${build_option} = 3 ] || [ ${build_option} = 4 ]; then
+	echo "Running npm install ..."
+	npm install
+	echo "Done npm install."
 
-echo "Removing style lint config and replacing with UW config ..."
-rm .stylelintrc.yml
-cp ../.stylelintrc.yml .
-echo "Done removing style lint config and replacing with UW config"
+	echo "Removing style lint config and replacing with UW config ..."
+	rm .stylelintrc.yml
+	cp ../.stylelintrc.yml .
+	echo "Done removing style lint config and replacing with UW config"
 
-echo "Running gulp build ..."
-gulp build
-echo "Done running gulp build."
+	echo "Running gulp build ..."
+	gulp build
+	echo "Done running gulp build."
+fi