Main script to run.