Updated routing

priorities are now working in 3.1