add option to disable graphs