generate export header