Updated logic for disabling VM and starting new VM