initial automation script complete