Added permissions fix for plists in OSX