Added --dist and --auto flag implementation to clean task.