Script to extract and plot enrolment summary data