need a callback on the main document processing to allow multiple usage given the module level options hash