Fixes to run script.