Fix for SimpleTs, for old scripts.