cleanup and auto define of print-routes