Added path.php again to minimize the code repeat