pass task options to the document call

the various docco options were not being passed to the document call.