changed to fit with updates due to bucket download changes