Adding osx prefs and thanking @ghickman