move team collation to another script