F18General duty of Secretary of State and Scottish Ministers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .