In fact, if you have a number of seed locations (x,yz) coordinates, you can run 3dGroupInCorr with the '-batch' option to run it entirely without AFNI -- it then just reads the seed locations from a file and creates a dataset for each given location.