Added spawndir