Glyph2 script to apply BCs to domains