adding vsphere compatibility code