missing settings variable added to call of createDemandFromSettings