Create db script