updates to testnum and testscript