added .png export functionality