fixed build and build_and_deploy.sh