Adding Automation script