Logging only the necessary but with the errors.
Corrected a typo and forgot to copy the needed file into the $TMPDIR directory.