Object oriented Patrol script