added build db script