added script to manage routing