Made running a class variable of spawner