Fixing db config file for root paths