Fix notifications bug by running osascript as the logged-in user