I sent you your code. Let me know if you have any more questions.
Everyone, stop putting up your email on the main forum! Send it to Dan through a PM.
My reasoning for this is to prevent you from getting unsolicited spam. Perhaps, depending on your mail service, the spam filter is good enough now it doesn't matter.