WIP: Add options to export_data method to allow conditional export from bots