Motherwell will travel to Livingston in the first knockout of the League Cup.
It's another game on the astroturf for us. As an unseeded club it was likely that we would face top level opposition. It will be our first competitive game against Livi since we beat them 2-1 in the same competition in 2013.
The game will be played on the weekend of 18/19 August.
Last season's knockout matched us with Ross County, Aberdeen and Rangers before we met Celtic in the final.
The full draw is
Livingston v Motherwell
Dundee v Ayr
Dunfermline v Hearts
Kilmarnock v Rangers
Aberdeen v St Mirren
Partick Thistle v Celtic
Hibs v Ross County
Queen of the South v St Johnstone