add framework for clair_demo_mode
file mode changes