added databasePath Preference