Fixed the settings file, and corrected a migration