Add a line to check for presense of tmp dir and make it