improving testscript command