fix tran script