move graph generation cmds to sh script