fixed an issue in the decrypt script