fixed required.php closes #44