remove the 'Packages' directory before generating new files