Rework output and ordering of deployment to have long running tasks run after deployment and send a summary mail