Works.  Need to add protection for not overwriting identical header.