More tweaks to run script.