basic sugar registration script, mostly because computer being wiped