Enhanced bin/local-deploy.sh