adds a command-line script