dynamic DEMO script