Support custom ignore patterns
Store the original stack