Split the SVG generation out into a seperate project, now a ruby gem. Added bash scripts to use this ruby gem for generating SVGs.