edited db setup script