Dynamic routing strategies in sensory, motor, and cognitive processing