Modifed run.sh to include params