update script

Added line in stats script to select the largest component subgraph