attempt at setting yaml header after export