added scripts to do graphs