Edited run script to mirror changes in how command line parameters are used