Sql script to setup database