Modified to save SVG format the items in the slice