script

Noun
  1. A written text of a play, movie, or broadcast. Noun
    She read the script aloud.
  2. A set of written instructions for a computer program. Noun
    He wrote a script to automate the task.