Modified GPG backup and restore scripts