assign host from config instead of via GET