updates to svg templating, part 1