Allow passing of prefs, apps and settings