updating sample script