sample data reduction script for MAPS,

Russell Ewings MAPS modifications based script