ting script and split script