add script to aggregate  data