finished rewrite configbased verification