Update export to take into account privacy
Merge pull request #513 from mitechie/fix-export

Update export to take into account privacy