modified run.sh