Added the ability to specify a config file.