updated datacollection code
modified config file