fixed build_and_deploy.sh