Graph with script