added graph script