Took out dplyr and magrittr imports, which were no longer necessary