Create derive_patent.php