An exelecent point... however, upon looking further, both doing the substitution elsewhere and putting in an "or die", the script doesn't die. Moreover...
- It is going to the right file
- It works fine on three out of the four pages I'm using it for.
I'm going to post a testcase for this soon, methinks.