Updated ExportCode

All previously exported modules are deleted before exporting the current
project