Can we just check for `SETTINGS[p.downcase.to_sym]` instead of repeating?