Dog rescued by helicopter in Scotland