updated postinstall to set correct permissions on Preferences