add environment option to addFieldSetting "documentation"