Change print output in Terminate