Adding data reduction script