Added some of the automation steps (without any proper error checking)