update script pathFinder