Moving deployment steps into script file