create db script