adding num_threads to advanced options