made changes to export script