graph script