Assign custom field to subject‏ - template question

Hello all,

I created a scrip that assigns a custom field value to the subject (and that works fine). The problem is that the email generated by the template doesn’t pick up the newly assigned subject.
Do I need to add something to the template?

Thanks in advance,
Gary
More immediate than e-mail? Get instant access with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008