Modified scripts to be compatible with Take Command/TCC 12.11.