Changed config file location algorithm.