added makeglossary support