Thanks to Simon Dick for making the db_prefs work again\!