fixes the directory path to the postgres config file