a tool to automate graphite