Switched over to license api instead of groups api. Added ability to select text format.