Ni: add remote resource in, and read from it when resource host is specified.