fixed a problem with depending on the database.cfg file in production