Corrects script and gitignore