Flag and break after insering code to page, no point looping and matching further