Rewrite Ga.php file and recover and replace old code