Rewrite 3rd extensions detection