The best way to keep sheep from a smart dog until they get to the stables