setup create database and deployscript