Hooking up a boolean to check flag status.

Adding better demos.