changes to db script