Added path variable to checkEdge and added it to configure