Adding remote url for documents