diff --git a/cloneall.bash b/cloneall.bash
index 08cf0f61059cee843d350f4d2d455a7009b2ccc6..2f382ddacb463515af7455fee05b0f9f6b527310 100755
--- a/cloneall.bash
+++ b/cloneall.bash
@@ -3,7 +3,8 @@ set -vex
 
 REPOS=(${REPOS:=gitlab-profile core io integrate octree domain PM})
 : ${SESSION_NAME:=hw}
-
+: ${HW_BUILD=$PWD/build/}
+: ${HW_DATA=$PWD/build/}
 
 while getopts "cptlr:" opt
 do
@@ -21,18 +22,17 @@ if [ -z "$clona" ] && [ -z "$pyinsta" ] && [ -z "$tmuxa" ] && [ -z "$linka" ];th
     exit 1
 fi
 
-for REPO in "${REPOS[@]}"; do
-    echo [ $REPO ]
-done
-#exit 0
-
 if [ ! -z "$clona" ]; then
+    if [[ ! -f .env ]]; then
+       echo "export HW_BUILD=$HW_BUILD" > .env
+       echo "export HW_DATA=$HW_DATA" >> .env
+       echo "export DEBUG=1" >> .env
+    fi
+    . .env
     [[ ! -d "venv" ]] && python3 -mvenv venv
     . venv/bin/activate
     pip install autopep8
     pip install matplotlib
-    touch .env
-    
     for REPO in "${REPOS[@]}"; do
 
 	[[ ! -d "$REPO" ]] && git clone ssh://git@git.ia2.inaf.it/hotwheels/$REPO.git