Added the automation script