added debug to true for troubleshooting demo issues