put decryption in after scripts