Revert "Revert "added scope option for was:extractAll""

This reverts commit 78dbc18fc13add9822eaaf412433e3dbcc152d37.