Moved mime and clown rename code.