wrote transaction script and hashed passwords