[TASK] Add new argument 'rewrite'