Some ugly code to control line following Trekker