Upload TS optimize