Updated makekey.py to be functional. Need to test still.