Script to automate runs.