Added more flexibility in naming upgraded graphs (can extend e.g.
"upgraded_extended").