Maze navigation

Hey this script is meant to navigate an enemy yhrough a maze to the character it works outside the maze but when i put them inside nothing happens. Can anyone help??

  function Update(){
     var target = GameObject.FindWithTag("Player");
var right = transform.TransformDirection(Vector3.right);
var left = transform.TransformDirection(Vector3.left);
var fwd = transform.TransformDirection(Vector3.forward);
 if (!Physics.Raycast(transform.position, fwd, 20) & !Physics.Raycast(transform.position, right, 40) & !Physics.Raycast(transform.position, left, 40)){
transform.Translate(Vector3.zero);
transform.LookAt(target.transform.position);
transform.Translate(Vector3.forward * 15 * Time.deltaTime);
}
else if (!Physics.Raycast(transform.position, fwd, 20)) {
transform.Translate(Vector3.zero);
transform.Translate(Vector3.forward * 15 * Time.deltaTime);
}
else if (!Physics.Raycast(transform.position, right, 40)) {
transform.Translate(Vector3.zero);
transform.Rotate(0,25,0);
}
else if (!Physics.Raycast(transform.position, left, 40)) {
transform.Translate(Vector3.zero);
transform.Rotate(0,25,0);
}
}

Asset Store description:

Path
By AngryAnt, Free: The Path project is an easy to use, powerful, waypoint based pathfinding solution for Unity.

Its primary goal is to allow the user to quickly and easily add pathfinding to a scene and immediately take advantage of it through a super simple API. At the same time, the before mentioned API also holds powerful accessors for runtime throttling of the co-routine based seekers, custom weights, path recalculation and more.

Documentation is available at http://angryant.com/path