Implemented a simple demo script.