added makeglossaries option