Added configurable lean scale, fixed loadSetting.