modifying run script to new argument style