Update bash scripts and .gitignore to better work with clean installations