added ability to load the configuration file