update runExperiment.sh to run more smoothly