script: Fix to use NCPUS dynamically