Added exclude patterns support