fix theme xpath and <?php starting tag

and adding gitignore file