Do export header the right way