Added additivity falg to advanced demo