added osx prefs