Add metadata cleanup command