SMS dit: Managing Scotland's environment