script to replace glyph