BUG: fixed the reslice.sh