added bool HEADER_STS

adding HEADER_STS to switch of adding the STS header