rework testing script