tied up loose ends after the refactoring.
updated log file path.