Added ability to specify host IP