adedd a flag for exports to work