Alter static-gen.php