changed export to png to octet stream