auto config route