Updated h52png script