Save as svg
Use local libraries in the test script
merged upstream