Added setSpecialCaseTags function