Done - also moved the sign_repositories call into the gpg function - a remainder from when there was much more functionality involved...