perpare config file for consumer