added more config options for resumable upload