get the prefs working