script for etsum comparison