unborked the applescript in gatekeeper.sh