Modified configure_db script.