Adding ability to use comma seperated list of gids