Atomic deployments with bash script