add gitignore, update python script a bit