migrating deployment scripts to the web app