More debug logging around upload options