Merge pull request #71 from kapilgoenka/master

updated export fn
update export fn