[wearscript] New registration code