debig script