Modify db script