modified run.sh to be independent of the location