Adapting a script
If you want to adapt a script, it is sometimes best to create a new script and copy in the text from the original script and edit it.
In this example we have copied the text / commands in a scototaxis script, created a new script, scototaxis_2, and pasted in the original script. From here we will edit the script. In this case we want to update the script so that it runs for 30 minutes, 1800 seconds, and change the lights displayed on the screen so that the same half of the screen is light during the whole experiment.