added plyr call

added
library(plyr)
to make sure the rename function would run