diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index a7f8b3223c392eb4bbd8151b825d8e93497ad506..f7b9032dd01cda4b295dd7aae21c69daa4409519 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -30,7 +30,7 @@ full=0
 sys_cwiid=0
 rpi=0
 
-inst_dir=/usr/local
+inst_dir=${inst_dir:-/usr/local}
 
 while getopts ":abBcdefFRruw" Option
 do case $Option in