Improve predator script