modify complete testing script