Enhanced deploy.sh