term script logging