some changes in teamscript