ECOM-621 stopped updating -settings variable because it is global - not local as suggested in the compilation message