extract.php now uses previously modified version of basic() code