Why are you doing this?

$NAME = "MISHELLE HAMILTON"

You really should be using the macro @FULLNAME as you are with @USERID.. If you specify the name in script, this will become a headache as you will have to maintain it.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's