Cleanup legacy images