Allow the script filters to modify the doc ID