fixed do_transaction() calls so these create_* scripts actually work