Added support for multiple communities