add thread cmd