fixed kvm script