Update the sample script before testing.