changes to try to get it running on shinyapps.io