Have you also generated definitions? F7 only builds the story, doesn't generate definitions (make global characters accessible to the code).
I've tried to generate definitions etc, now i just did a build + generate definitions thing which worked and when i run the game there is no evidence of the script being used
Sorry all these questions are really basic, but when something basic doesn't work, it's often a little missed step.
No that's ok i'm glad i'm getting any help at all

.