Added command line handling to pass URL to demo