Added a reload functionality for the demos.