deploy.sh improved