Added script to run main