Made some small improvements to the run.sh script.