change tmp directory to node attribute