added rids in internally draining area script. cleaned typos. included table deletion in setupTemp.