plot scripts and plot png files