Change setCustomHost(host) to string from bool to set host directly