How to link a Script to a Trigger?