Updated script. Can't plot.