added plyr to export list in foreach