Changed the variable 'settings' to 'SETTINGS'