add .gitignore
Update README and add some fixes to script for convenience