Changed uploader to take stdin arguments