Rewrited opts handler