Added converting svg to flatten format