Add --exclude_pattern option to configuration