Updated .gitignore and file permissions