Add wasExecuted check
Handle large class paths, there was a problem over 256 elements in a list.