added tags and header support to merge