Update generate.php

Remove lines that were causing a parse error.