Script for collectAll.R and SaveMSEdataFrame for use with Shiny