Adding support for passing in the daemon param via the config array.