added 'conf_source' parameter to allow an external module to provide the template for conf file