add support for multiple process groups and bucket lists