added local in-path-directory and added livelog from @tlberglund