Added a local config file support