Adding main and ignore tags