now saving svgs in each generation