Script to get flag stats.