removed pydot in headless branch