Fixed dig.php