Script for analysis of elections.