Updated method to locate config file, should fix