changing tempdir_out back to tempdir
removing debug