Added /flags to .gitgnore
added script to fix group permissions