Fixed configure_db syntax errors