updates to demo script to use new debugger factory