moved db setup to before install script