modified dbi-route.pl