Hamilton Academical boast the only 100% record in the Championship after a day to whet the appetite for the season ahead.

Twenty-three goals were scored in the five matches, no game more dramatic than at Central Park where Raith Rovers edged Cowdenbeath 4-3 in the Fife derby.

Greig Spence helped himself to the most courageous of hat-tricks, netting twice from the penalty spot in the final 10 minutes to turn around a 3-2 deficit.

The game sparkled from the kick-off as Spence claimed the opening goal after goalkeeper Grant Adam had blocked his initial attempt.

Jordan Morton equalised after Raith failed to clear his corner kick, but Joe Cardle put the visitors back in front. Kenny Adamson then scored the pick of the bunch with a left-foot shot to level things again before half-time.

Cowdenbeath took the lead for the only time midway through the second half through Greg Stewart, after a surging run from Kane Hemmings.

However, Raith were not finished. Spence converted his first penalty 10 minutes from time, then a second in injury-time to win the match, when Adam pulled down Gordon Smith and was sent off. Replacement goalkeeper Thomas Flynn's only task was to pick the ball out of the net.

At Dens Park, Kevin McBride was similarly calm in the heat of battle as he scored a last-minute penalty to give Dundee a 1-0 win over Alloa Athletic.

The home side were hardly convincing over the 90 minutes and, if anything, Alloa had the better chances, but they could not find a way past Kyle Letheren.

There was also late drama at Almondvale as Livingston and Queen of the South shared half a dozen goals in a 3-3 draw.

Danny Denholm gave the home side an early lead before Iain Russell scored the equaliser against his former club.

Russell was involved again as the visitors took the lead. Coll Donaldson was adjudged to have handled the winger's cross, with Ryan McGuffie making no mistake from the spot.

A header from Callum Fordyce from a Martin Scott corner pulled Livingston back into the match but they then lost Neil Hastings to a second yellow card.

Danny Mullen looked to have sealed victory for the home side with 10 minutes left but Gavin Reilly equalised.

Hamilton moved to the top of the league with a 4-1 win over Dumbarton.

James Keatings got the opener from the penalty spot with 28 minutes gone, after Aaron Barry fouled Grant Gillespie.

Keeatings doubled Hamilton's lead two minutes later after Jon McShane had set up the chance. Darian MacKinnon came close to a third but his shot thumped against the crossbar.

Scott Agnew pulled a goal back with a 67th-minute penalty but Gillespie made it 3-1 shortly afterwards and Tony Andreu completed the scoring.

Falkirk were comfortable 3-1 winners over Morton on their new artificial pitch.

Rory Loy struck twice late in first half and Phil Roberts wrapped up the points for the hosts with a superb individual effort early in the second half. Reece Hands scored a late consolation goal for Morton.