Create the basic automation script