Removing headers from body and using the template inserted ones