added new prefs to the directive