init gv.sname for use by plugins