added graph generating script