customized .gitignore and added output to file option