change hook and priority to include all settings classes