Add /replacetex [a b insel] cubescript hook.