add the kill unit part to load yaml File --- with Geoffrey