dir as a param for run.sh