StackExtractor2 added stackDir variable