Update scripts for new bouncycastle