let script/worker.php take an argument of threads