Added the decompression and decryption/encryption