update logging in deploy.sh