add DB build script