Added summarization to the analysis script