added analysis scripts and methods for analysing pgxplogs