Script to compute summary statistics