Invert routes