Customized deploy/build-mac.sh for my use case