diff --git a/make-envs-for-react.sh b/make-envs-for-react.sh
index 9e75e6c1c188267bcf09ff52c2bf68668ca49bda..43375a27e7c8da898e5ba82bec13f25dde654fec 100644
--- a/make-envs-for-react.sh
+++ b/make-envs-for-react.sh
@@ -1 +1,4 @@
-echo REACT_APP_GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL} > ./apps/wrappers/.env
\ No newline at end of file
+#!/bin/bash
+
+cd ./apps/wrapper
+echo "REACT_APP_GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}" > .env
\ No newline at end of file