update to shiny

shiny now uses sensible functions
shiny is now standalone
shiny can now output the files it uses