add config rewrite command