Adding automation script