Modified group totals cloud code
Merge pull request #49 from jeffdill2/cloud-code-changes

Modified group totals cloud code