Added a fallback for default database config