add attributes and ignore files