Better script to reset the db