Added encryption feature when exporting