Fix renaming of external sketches