RegisterName script