updating flush script and gitignore