some changes to batch upload for progress stuff