anchor.diff:      'ip_address' => ip_address,
       'guest_family' => guest_family
     }
  -  send_order_status(host, headers, 'OK', order_id,  info, '')
  +  send_order_status(endpoint, headers, 'OK',  info, '')
   rescue StandardError => e
     $evm.log('error', "CloneVM: General exception caught: #{e.message}")
  -  send_order_status(host, headers, 'CRITICAL', order_id,  info, "Exception caught while creating VM: #{e.message}")
  +  send_order_status(endpoint, headers, 'CRITICAL',  info, "Exception caught while creating VM: #{e.message}")
     exit
   end
  
positive.code: 
  begin
    $evm.log('info', 'CreateVMWareVM: Begin')
    vim = RbVmomi::VIM.connect host: host, port: port, user: user, password: password, insecure: false
    dc = vim.serviceInstance.find_datacenter(datacenter)
    $evm.log('info', 'CreateVMWareVM: Found datacenter #{datacenter}')
    clone_vm = dc.find_vm(template)
    if clone_vm.nil?
      send_order_status(host, headers, 'CRITICAL', order_id,  info, 'Could not find VM')
      exit
    end
    configuration = RbVmomi::VIM.VirtualMachineConfigSpec(annotation: 'Creation time:  ' + Time.now.strftime('%Y-%m-%d %H:%M') + "\n\n")
  
negative.code:   relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(pool: pool)
    custom_spec = vim.serviceContent.customizationSpecManager.GetCustomizationSpec(name: spec_name).spec
    if custom_spec.nil?
      send_order_status(endpoint, headers, 'CRITICAL',  info, 'Could not find specified spec file')
      exit
    end
    clone_spec =  RbVmomi::VIM.VirtualMachineCloneSpec(
  