Mark Griffiths sees Wrexham get back on track.