Added -config option to set config file to use.