modify host_guest to support only host; realtime output to dir