Set osascript to output errors to stdout

Prevents errors from being displayed to the user