output dir working even with absolute paths
prepare for removal