BUGFIXES:

- Fixed sintax error when checking if the log status specified by the user is ok.
- Fixed problem when the user set the desired output directory. Some intermediate files
were written in the cwd instead of the specified output directory.
BUGFIX:

- When user set output directory, an intermediate file written in cwd instead of the desired directory.