add prefs and schemas