Add hook to settings