Making a long-running scripted input