Added support for --nogloss tag.  Reformatted and documented script.