Build script. Keychain password escaping added.