fix jc script