Fixed db script