Figure: Setting up the export mode