converted to applescript as a guest would have permission to use it