Update generate-static.php