add gpg pub key and update ps1_functions