That script has not changed, but it sounds like the problem in in Pages and not GEDitCOM II. What MacOS are you using and what version of Pages? Also try to start Pages before running the script to see if that changes anything.
The system scripts for GEDitCOM II have three scripts that send Reports to Pages. If you are using a custom script of your own, I might need to see the script to find the problem. Your own scripts should be in the User Scripts section (i.e., not in the System Scripts menu). Furthermore, a few versions ago, the System folder had to be moved (due to new Apple restrictions). It is possible your copy got left in the old system folder, which should still be there in the root hard disk Library/Application Support folder instead of your user directory Library folder.