Adding support for config file