Added argument to handle subdir in the spec runner generation