Added support for a config file