gen_keys.sh script added (incomplete). Minor changes and comments made.