Script launcher, with vm or physical machine detection