diff --git a/Dockerfile b/Dockerfile
index 01138015da99d34a88215564bde63421c7a952ec..4b163660c4bba82c2b363b2c933148d0a47c7a8e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,5 +18,6 @@ COPY commands/godot_project_title.sh /usr/bin/godot_project_title
 COPY commands/butler_install.sh /usr/bin/butler_install
 COPY commands/butler_upload.sh /usr/bin/butler_upload
 
-RUN godot_install $GODOT_VERSION $PLATFORM && cp ./godot /usr/bin/godot
-RUN butler_install $BUTLER_VERSION
\ No newline at end of file
+RUN chmod +x /usr/bin/godot_* /usr/bin/butler_* && \
+    godot_install $GODOT_VERSION $PLATFORM && cp ./godot /usr/bin/godot && \
+    butler_install $BUTLER_VERSION
\ No newline at end of file
diff --git a/commands/godot_build.sh b/commands/godot_build.sh
old mode 100644
new mode 100755
index 60a6e5ef117a15f035c6bdcb30b768699379e324..0d39c5597ab36a698cbf88c251b9d4b99b06629e
--- a/commands/godot_build.sh
+++ b/commands/godot_build.sh
@@ -4,4 +4,5 @@ NAME="$1"
 PRESET="$2"
 PROJECT_PATH="$3"
 
-godot --headless --export-debug "${PRESET}" "$(pwd)/${NAME}" "${PROJECT_PATH}/project.godot"
\ No newline at end of file
+mkdir -p "$PROJECT_PATH/dist"
+godot --headless --export-debug "${PRESET}" "${PROJECT_PATH}/dist/${NAME}" "${PROJECT_PATH}/project.godot"
\ No newline at end of file
diff --git a/commands/godot_build_web.sh b/commands/godot_build_web.sh
old mode 100644
new mode 100755
index 9ee753b2429afc3fb515b5858484baea2e034000..42f39a9f0272000efe745acf58c22a88ce110d0e
--- a/commands/godot_build_web.sh
+++ b/commands/godot_build_web.sh
@@ -4,7 +4,7 @@ NAME="$1"
 PRESET="$2"
 PROJECT_PATH="$3"
 
-OUTPUT_PATH="$(pwd)/${NAME}"
+OUTPUT_PATH="${PROJECT_PATH}/dist/${NAME}"
 
-mkdir -p "OUTPUT_PATH"
+mkdir -p "${OUTPUT_PATH}"
 godot --headless --export-debug "${PRESET}" "${OUTPUT_PATH}/index" "${PROJECT_PATH}/project.godot"
\ No newline at end of file