Fixed manifest writing and added transparent page capture