Add a checkbox to run a script in the Script Console as though it were running on the Gateway. OR Check a box and the Script console would highlight lines that might not work if run as a Gateway event script. I've figured out my issues this time, but it's hardly the first time that I've been all excited that my script runs great in the console only to have it fail miserably while I paste it into a Gateway event script.