added library(dplyr) to the actual scripts