Implemented running the script.