support config for host