auto assign host groups