updated transaction script - Serhey