Add rerouteLats and rerouteLngs fields to database and modify scripts to use them