Small optimization: taking an expression out of a loop and into a let expression
Fixed up build_opt.sh to be the same as build.sh
Route is now generated per map type