fixed how the installer creates the db config file