Made hostname configurable