added some stuff to save manifest