replaced several more instances of SETTINGS with appropriate plugin settings