Modifying runExampleScript.sh so that it includes creating the output directory.