Script can now also convert svg files.