removes reading gpg key
adds sed to replace config path
corrects sed