updates gitignore and corrects script