Added --gpgdir switch - closes #1