Fixed files.to.move and outdir in shiny Apps