Fix temp dir cleanup, env var docs