external.php: implemented fallback to direct includes if external.php not found