Updated to work when the database is offline