change graphite local dir to attribute value