Updated code to remove packages over 7 days old