Making private flag optional for uploads