Adding script.runInNewContext to vmalterns