Current dir saving in temp