Cleaned up decryption script.