added host url global variable