I think Agnes is trying to manipulate Wanda and use that magic book to bring her husband "Ralph" back from the dead or something.