Added database build script