Modifications to make shiny app happy.