updated encrypt.sh