replaced calls to create_testscript() with better_testscript()