fixed compile error
added script to presplit table