Added host as a configurable option.