removed swtiches for pydot