Creating staging scripts to automate staging environment creation