Add an all option for primes and do some bug fixing