replace attributes, add comments, try to install gpg key