Alan Connell's double gave caretaker boss Andy Scott the perfect start as Brentford came back to beat fellow strugglers Wrexham 3-1.
Lee Thorpe hit the post with a header from a Ryan Dickson set piece, before the home side went ahead against the run of play on 41 minutes.
A long ball found Sam Aiston and his cross was nodded back across by Neil Roberts for a grateful Chris Llewellyn to head home.
The Bees should have been level after just 60 seconds, when Shaun Pejic was adjudged to have felled Dickson in the area, but Thorpe's weak spot-kick was saved.
Connell nodded in the equaliser from Ricky Shakes' 66th-minute cross.
And the visitors went ahead on 71 Steve Evans scored his second own goal in as many games - before Connell smacked home the third after his initial effort had hit a post.