diff --git a/utils/provision.sh b/utils/provision.sh
index f69da1814c08c80cd69c2bcb337a43ba0613eee6..2eaf32bb339aacdd310ff96bf5408c591843c465 100755
--- a/utils/provision.sh
+++ b/utils/provision.sh
@@ -105,14 +105,13 @@ function buy_domain_name () {
 }
 
 function application () {
-  export MAIL_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs`
-  export MAIL_USER="noreply.${arg_u}@${MAIL_DOMAIN}"
-  export URL=${arg_u}
-  /data/indiehosters/utils/add_mailbox.sh ${MAIL_USER} ${MAIL_PASS}
-
   git clone https://${arg_a}.git /data/domains/${arg_u}
   cd /data/domains/${arg_u}
   if [ -f ./scripts/install ]; then
+    export MAIL_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs`
+    export MAIL_USER="noreply.${arg_u}@${MAIL_DOMAIN}"
+    export URL=${arg_u}
+    /data/indiehosters/utils/add_mailbox.sh ${MAIL_USER} ${MAIL_PASS}
     ./scripts/install
   fi
 }