trace script