Switch to prefs.json