The new registration script should take care of everything in this. (delete this)