Can’t view your link from where I am but the next questions would be:
- Is the KM dialog displaying ?
- Is the clipboard content changing
- If you check that you have copied every line of the source script (not always easy and run in Script Editor, what does it now do, with the KM variables in place.