how to make an applescript fail