Reformat dynamic header