JR1040 script updated