Added optout switch
Added .gitignore