Changes for routes.js config format