Updated script to generate graphs for derived facts.