Added ability to specify config file