added ignore using minimatch