changed script test code