added script to compute summary stats