new version

uses gpg for file creation to prevent cleartext files being left around