Added option to pass parameters in through a config file.