Hello, Here are a few changes that fit my needs regarding GPG. gpg2 is used if it is found, otherwise it uses gpg. The features of the two commands are the same. Also, the "--batch" option is not used if gpg-agent is not available; this prevents gpg/2 from complaining and refusing to go ahead.