Allow to set custom cmd how to get routes

That allows to use zeus for example for even faster routes generation.