Replace the conversion SQL with a script
Add a script to upgrade a user to a superuser