Fix build_and_deploy script