diff --git a/html/build.sh b/html/build.sh
index 6bc3571..ec60003 100755
--- a/html/build.sh
+++ b/html/build.sh
@@ -1,11 +1,9 @@
#!/bin/sh
-mkdir -p ../dist/public_html
-
cp -r ./public ../dist/public_html
-mv staticsimponic/turing-machine ../dist/public_html
-mv staticsimponic/euler-golf ../dist/public_html
-mv staticsimponic/godel-explorer ../dist/public_html
+for dir in "turing-machine" "euler-golf" "godel-explorer"; do
+ mv staticsimponic/$dir ../dist/public_html/$dir
+done
cd the-abstraction-engine/
npm install