Switch around routes so local routes come first