slightly improved deploy.sh