Dundee secured their first win under Steven Pressley at the third time of asking but made hard work of the 3-1 Premier Sports Cup group stage victory away to Lowland League side Bonnyrigg Rose.

Pressley’s team had been roundly criticised after defeats by Airdrieonians and Alloa Athletic left them with little to no hope of progressing to the last 16.

Clark Robertson put the Scottish Premiership side in front on 20 minutes, but they were pegged back by Cameron Ross before half-time.

Bonnyrigg defended stoutly and seemed on course for a point before late goals from Emile Acquah and Billy Koumetio spared Dundee’s blushes.

Alloa lead Group C on nine points, while second-placed Airdrieonians can confirm Dundee’s exit when they face Montrose on Wednesday.

Dundee finish their group-stage fixtures at home to Montrose on Saturday.

Elsewhere, Motherwell secured their place in the next round with a 3-0 win over Greenock Morton and Falkirk came from behind to beat Queen’s Park 3-1.

Kilmarnock – the other Premiership club in action – were held to a goalless draw on penalties by Kelty Hearts and unable to earn a bonus point as the League 1 side triumphed 4-3 on penalties.