added check to see if vm is already on