Fine tuning deploy.sh