Initial work for community support.
Added variable to save current community.