Script now implements a clean function for each package.