added a number to remove.small.communities input so that it will write out a different version each time it runs.
added number to remove.small.comm so it will write otu a different version each time.