Updated generate to use the 4 graphs