Agree with Doylem.
As a youth coach (rugby) of the things I drum into the lads are the 2 golden rules on the pitch.
Rule 1: The ref is always right
Rule 2: If you think the ref got it wrong, shut up and see rule1.
At the final whistle, I always shook the ref's hand and thanked him, never berated him during play, sometimes had to apologise for the parents watching and their language etc.
I wasn't paid, the ref was, though not a massive sum, plus exes if applicable.
Basically we were there every weekend because we wanted to be.
Football isn't a lot different at lower levels, pub/youth sides, but once the mercenary aspect to top flight sport kicks in, every blow of the whistle is life and death in cash terms.
I think the same principle could apply in Scotland's 2 team league as well.
If refs are getting undue stick, they should tell them to stick it and ref it themselves.