allow variable host as second argument

add possibility to run on another interface than localhost