New deploy.sh implementation.