Add hostname and last active window.