Added node scope
scope as option for extractAll added