sha-256 implementation changes, better support for rev 1/2, argparse