Updated to support new electionprofile system