Create applypatches.php