Added some packages to be purged.
Minor edit + createdir function