script num_threads