make primes return will fieldset keyed by fieldids
add python executable pragma