Fix db setup script

see #46