Added capibility for config file.