A little luck and a lot of excellent work by goalie Steve Mason.

That combination enabled the Flyers to make Craig Berube's head coaching debut a success a 2-1 win over the Florida Panthers Tuesday night at the Wells Fargo Center.

Mason in his best performance of the young season made 33 saves as the Flyers (1-3) avoided their first 0-4 start in franchise history.

"He made some key stops" winger Brayden Schenn said "or it could have been a different hockey game."

First-period goals by Schenn and Braydon Coburn gave the Flyers a 2-0 lead until Brad Boyes scored on a rebound with 6.7 seconds left in the second period.

Schenn scored after Jake Voracek's shot bounced crazily off the back boards and he knocked in the rebound after it caromed away from goalie Tim Thomas after 4 minutes 49 seconds.

A little less than three minutes later Coburn's bizarre goal - a shot from the right point - put the Flyers ahead 2-0. Sean Couturier's shot went wide as Thomas fell down and the goalie while trying to get back on his feet got his skates tangled with teammate Mike Weaver as Coburn fired the rebound into the empty net.

"Throw stuff at the net and good things can happen" Coburn said.

Thomas left the game with what may be a groin injury and his replacement Jacob Markstrom was flawless in relief.

Mason was brilliant in the first two periods stopping 24 of 25 shots including Aleksander Barkov's wide-open blast from the slot in the opening period. Late in the second period he turned aside Shawn Matthias on a shorthanded breakaway.

But in the closing seconds of the second period Mason was defenseless as teammate Luke Schenn blocked Brian Campbell's shot and the rebound went to Boyes who easily knocked in the goal to cut the Flyers' lead to 2-1.

Before the game winger Scott Hartnell said the Flyers will be "more of a skating team" under Berube. "If you don't work hard and don't win battles you're not going to win games and I think that was the problem the first few games" he said. "We were getting outhustled and outworked and when you wear the Flyers' crest you have to be hard-nosed skating fast hitting. . . . That's something we weren't getting done."

Discipline has also been a problem and Tuesday was no exception. Jay Rosehill's double-minor for roughing was a prime example. Rosehill was already assessed a penalty and was heading to the box when he went back for more with 17:12 left in the game.

The Flyers masterfully killed off the four minutes and actually outshot the Panthers during the penalty.

"I don't think they had a quality shot on net during that entire time" Mason said. "The penalty killers did a great job."