updates to the registration script