That worked perfectly!
(at first it didn't, but I realized that I still had that "die on mail" line in the code. So I removed it, and it worked perfectly.
Now - a couple more issues. But I'm not sure if I should just continue this thread, or start a new one?