replaced ignore and added attrib