added EVApiHostname function