added support for specifting the location of the config filew