Edits to analysis script, addition to gitignore.