Updated summarization script