Added Support for Multiple hosts