added special export to handle intial exporting