moved cleanup to the end, force-yes install packages