Code works on PowerPC but not on Intel...

I had help writing a script for having my computer speak text when it woke up from sleep:

and this code works fine on my PowerMac G5 and my Powerbook G4, but when ?I moved this application/script to my MacMini (Intel Core Duo) it quits unexpectedly… I even tried to recompile the script and resave the application on the mini itself, but still no luck. Any ideas?

Thanks for any input.