separate the host from the client plugin