working upload and manifest