Script to generate png files