Add rewrite options to header