Added support for ignore patterns