Alter static-gen.php

Alter static-gen.php