Add option to take parameters from config file.