updated genNewVals.sh