updated .gitignore, improved usability of script