Add a script to handle 5.0 db migrations