api testing script update 2