Pyscript to analyse savefile output