Updated sample script