v3- Added ability to temporarily change the log path. Code & logic clean up