added limit clause when running populate gids from tmux