added pet path detection, and a path field, search