Fixing directories in the config files