Script to analyse data.