These lines will choke if the ENV isn't set. It might be worthwhile to do some environment variable validation and mapping into variables at the top of the rakefile. Even if they default to empty string when not set, then split can handle it.

```1.8.7-p371 :001 > ENV["groups"].split(',')
NoMethodError: private method `split' called for nil:NilClass```