added minimatch for ignore paths