Changes to solve database connection problem, changes to fix rq2 fixes #15
Change to db script
Change to db script