Debugged error in summary script.