pathced module export
Patch to get the export command working properly