parameterize settings functions to be used for customer app and core