Updated .gitignore and fixed syntax