spawner script work