Added new features to the routing program