set up mods and migs and route