St Mirren defeated Hibernian 3-2 in the final game of the cinch Premiership weekend.
Stephen Robinson's side were in control when Mark O'Hara (penalty) and Toyosi Olusanya struck in the first half but Adam Le Fondre and Christian Doidge hauled Hibs level.
Substitute Alex Grieve beat keeper David Marshall with a perfect header in the last minute after being picked out by Greg Kiltie to win it for Saints.