database setup
linky
fixing sql
if exists
Merge branch 'scripts'