updated export fn
Merge pull request #71 from kapilgoenka/master

updated export fn