modified plotting scripts to output pdf and removed some png files