diff --git a/bin/steps/pip-install b/bin/steps/pip-install
index ee7e3589d673f651bcfb10f937e70972df8f6ef4..d0941f2a7f85bb1ec8368967c784050e6a121c96 100755
--- a/bin/steps/pip-install
+++ b/bin/steps/pip-install
@@ -6,7 +6,7 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
     puts-step "Installing requirements with pip"
 
     set +e
-    /app/.heroku/python/bin/pip install -r "$BUILD_DIR/requirements.txt" --exists-action=w --src=/app/.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | tee "$WARNINGS_LOG" | cleanup | indent
+    sub-env /app/.heroku/python/bin/pip install -r "$BUILD_DIR/requirements.txt" --exists-action=w --src=/app/.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | tee "$WARNINGS_LOG" | cleanup | indent
     PIP_STATUS="${PIPESTATUS[0]}"
     set -e
 
@@ -22,4 +22,4 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
     /app/.heroku/python/bin/pip freeze --disable-pip-version-check > .heroku/python/requirements-installed.txt
 
     echo
-fi
\ No newline at end of file
+fi
diff --git a/bin/steps/pipenv b/bin/steps/pipenv
index 23032ade06a85340f7a30c99ba1e847d027f9a4d..6ccd3eed6fb3cdb480b7b34e31b9b4ef3c373dea 100644
--- a/bin/steps/pipenv
+++ b/bin/steps/pipenv
@@ -18,4 +18,4 @@ if [[ -f Pipfile ]]; then
         /app/.heroku/python/bin/pip freeze > requirements.txt
 
     fi
-fi
\ No newline at end of file
+fi
diff --git a/bin/utils b/bin/utils
index 59273a7c49124c231dd9fdbbc2a3c55b25062199..4a06a4697a61ad4b71ab7e223c77f6120be628cb 100755
--- a/bin/utils
+++ b/bin/utils
@@ -72,7 +72,7 @@ sub-env() {
       done
     fi
 
-    $1
+    "$@"
 
   )
 }