made the greengraph script runnable