Updated db script