Scripts for generating graphs