Set host as optional parameter