modifications for next upload