Minor mod to db script