script to list all PIDs in collection