Add option to enable graphite