made headercheck target optional & remove option HEADER_CHECK