Working sheriff script