Add substitutions on processing options (#4569)