Updated from a dogtail example to the LDTP