Scripted API Demo