Added gitignore function