Updated the run scripts to fix some problems