minor changes to run script