Modified global.vi