who actually gets the toss? I have just been asking the home team to choose head or tail for KO. but can anyone properly explain?

I go for the cricketing way of doing things. Home team tosses it, and away team calls it.