Adding _main_ to demo.py