Add base of manifest writing