db script generated