Export module rewrite