Adapt standalone traceroute script.