changes to get it to work on our shiny server