add a script for generating community profiles
Latest code.
reindent
merge changes between ben and donovan's branches manually