Changed the external def file type to svg
Added better warnings for externalDefs