Select the script target

Clicking the drop-down menu selects whether the script is created for a plant, a system, or a plant-specific alarm: