Added lead routing debug mode