graph_index and script