correcting databaseconfig for distribution purpose