VM control script changes