add host, port flags