Fixed up some issues with contribute, added flag case insensitive option