changed export script