Modify generation script
Add plyr to packages