Refactored and created environment vars that contain log file
path