Changes in script for to do graphics of summary