Added ':gpg' check to initialization