exit on error
added .gitignore