script to generate svg's from a local directory