modfied InitialRunner to search all subtree when recursive option is true