modified database build process.