Removing dplyr dependency because of issues with dplyr in firehose.
Resolving ddply scoping bug using the here() function.