Explain me how the Scottish government works.