moved from configuration with .json to .prefs