minor change to template debug script