What would you do to get the name of a system temp directory? I've added this to let me (in case of an issue, debugging purpose) look at the temp folder to inspect the files. Otherwise, this script get's executed via cron later and that shouldn't be a big deal. This will create another line in the logfile that cron puts aside.