added prefs from preftabswork branch