build manifest file