configurable tmp and output directories, 0.2.0