Modified primes.js to use env instead of directly invoking the nodejs program