Trying to setup auto log file depending on cwd