ALL my AppleScripts stopped working

OK, so I have a number of different Hazel rules, all of which have been working fine. Each of these rules does a bunch of things based on content within PDF files (including using a lookup table), including:
1. Renamine the file
2. Adding tags
3. Moving the file to a defined path (from the lookup table)
4. Sorting into subfolders
5. Creating a text file using an AppleScript file (calling it from Hazel with parms passed in)
Step 5 is always the last action in my Hazel rule (I've had issues before with AppleScript not working), so that if the AppleScript fails, it doesn't stop the other steps running.
Steps 1-4 continue to work fine as they always have. Step 5 fails with an error (from Hazel).
This was all working OK until a few weeks ago - instinctively, I feel like this might be a "permissions" issue within Mac OS, but not sure. Maybe it's a Mac OS update has changed something (not sure if I've updated Hazel recently - on v5.3.1). Any ideas?
1. Renamine the file
2. Adding tags
3. Moving the file to a defined path (from the lookup table)
4. Sorting into subfolders
5. Creating a text file using an AppleScript file (calling it from Hazel with parms passed in)
Step 5 is always the last action in my Hazel rule (I've had issues before with AppleScript not working), so that if the AppleScript fails, it doesn't stop the other steps running.
Steps 1-4 continue to work fine as they always have. Step 5 fails with an error (from Hazel).
This was all working OK until a few weeks ago - instinctively, I feel like this might be a "permissions" issue within Mac OS, but not sure. Maybe it's a Mac OS update has changed something (not sure if I've updated Hazel recently - on v5.3.1). Any ideas?