FLOE-164: Changed the variable scope of the "demo" variable.