changes as per shiny 0.3 to 0.4 transition