add support for runtime = "shiny"