preprocess script and gitignore