Setting correct location of temporal files for fixing scripts