fix sample script.