regenerate classes and modified index.php