updated scripts based on changes to graphs