call correct class for specs dir