cleaning up map_communities.py