Added some functionality for staying in zones.