move term title setting to script