adding ability to unregister vms