pass task options to the document call