console handler takesrewrite options