Refactor the db_read option