move db setup to top of steps