Adding script for changing behavior for nav-mesh layer.