diff --git a/scripts/submodules.sh b/scripts/submodules.sh
new file mode 100755
index 0000000000000000000000000000000000000000..75933841c1359a01bdced0ac93562f9ac88ce040
--- /dev/null
+++ b/scripts/submodules.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ "$1" = "init" ]; then
+	git submodule init
+    git submodule update
+elif [ "$1" = "reset" ]; then
+    git submodule deinit -f .
+	git submodule update --init
+elif [ "$1" = "update" ]; then
+    git submodule foreach git pull
+fi
\ No newline at end of file