set content-type in upload script