Well done M8, Im glad you finaly have it up and running, especialy from the first version and problems you had.
One thing I like you have done and I hope all other hack makers take note of this is the fact that you state this in your instructions I QUOTE "Near the end of the line, before WHERE, right after "$cangetattachment", add this" in other words, other hacks ask you to totaly overwrite lines and therefore screw previous hacks up, you have asked users to add line rather than overwite.
Nice one.
Congrats M8.